package com.rmb.service.impl;

import com.rmb.mapper.LogRegisterMapper;
import com.rmb.service.LogRegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName LogRegisterServiceImpl
 * @Description 操作日志
 * @Author lvshook
 * @Date 2021/1/20 19:36
 * @Version 1.0
 **/
@Service
public class LogRegisterServiceImpl implements LogRegisterService {

    @Autowired(required = false)
    private LogRegisterMapper logRegisterMapper;

    /**
     * 根据id查询所有数据
     * @param uid
     * @return
     */
    @Override
    public List findAll(Long uid) {
        return logRegisterMapper.findAll(uid);
    }
}
